package com.leased.service;

import com.leased.exception.DatabaseException;
import com.leased.pojo.OperateRecordInfo;
import com.leased.request.operate.OperateRecordRequest;
import com.leased.utils.Page;

import java.util.List;

/**
 * Created by shencx on 2017/8/10.
 */
public interface OperateRecordService {

    Integer addOperateRecordInfo(OperateRecordInfo operateRecordInfo) throws DatabaseException;

    Page<OperateRecordInfo> fetchOperateRecordInfoList(OperateRecordRequest operateRecordRequest) throws DatabaseException;

    List<OperateRecordInfo> fetchOperateRecordList(OperateRecordRequest operateRecordRequest) throws DatabaseException;

}
